package com.ets.cert.service.impl;

import com.ets.cert.dao.NewsDao;
import com.ets.cert.model.News;
import com.ets.cert.service.NewsManager;
import com.ets.cert.service.impl.GenericManagerImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("newsManager")
public class NewsManagerImpl extends GenericManagerImpl<News, Long> implements NewsManager {
    NewsDao newsDao;

    @Autowired
    public NewsManagerImpl(NewsDao newsDao) {
        super(newsDao);
        this.newsDao = newsDao;
    }
}